using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;

namespace dender.dvdcover.core
{
    /// <summary>
    /// Defines a cutting line between two given points
    /// </summary>
    public class CuttingLine
    {
        private PointF _point1;
        /// <summary>
        /// Gets or Sets the first point of the CuttingLine
        /// </summary>
        public PointF Point1
        {
            get { return _point1; }
            set { _point1 = value; }
        }

        private PointF _point2;
        /// <summary>
        /// Gets or Sets the second point of the CuttingLine
        /// </summary>
        public PointF Point2
        {
            get { return _point2; }
            set { _point2 = value; }
        }

        /// <summary>
        /// Creates a cutting line by defining two points
        /// </summary>
        /// <param name="point1"></param>
        /// <param name="point2"></param>
        public CuttingLine(PointF point1, PointF point2)
        {
            this.Point1 = point1;
            this.Point2 = point2;
        }
        
        /// <summary>
        /// Empty constructor for XmlSerialize
        /// </summary>
        internal CuttingLine()
        {
        }

    }
}
